$OpenBSD: patch-stats_h,v 1.2 2014/07/08 10:15:39 sthen Exp $
--- stats.h.orig	Tue Aug  3 18:04:34 2010
+++ stats.h	Tue Jul  8 11:12:49 2014
@@ -30,10 +30,12 @@
 #include <sys/audioio.h>
 #include <sys/ioctl.h>
 #include <sys/param.h>
+#include <sys/mount.h>
 #include <sys/sched.h>
 #include <sys/sysctl.h>
 #include <sys/types.h>
 #include <sys/swap.h>
+#include <sys/vmmeter.h>
 
 #include "xstatbar.h"
 
@@ -84,6 +86,7 @@ typedef struct {
 #define MEM_ACT 0
 #define MEM_TOT 1
 #define MEM_FRE 2
+#define MEM_CCH 3
    int        **memory;    /* [hist_size][3] */
    int      ***cpu_pcnts;  /* [ncpu][hist_size][CPUSTATES] */
    uint64_t ***cpu_raw;    /* [ncpu][hist_size][CPUSTATES] */
